var express = require("express");
var app = require("express")(),server = require("http").createServer(app);

server.listen(8888,()=>{
  console.log('服务器已开启');
})
app.use(express.static("./dist"));
app.get("/" , function (req , res) {
  res.sendfile(__dirname + 'index.html')
})